﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Dazaza.UI.Mvc.Models;
using Dazaza.Domain.Model;
using Dazaza.Domain.Model.SearchInfo;
using Dazaza.Repositories;

namespace Dazaza.UI.Mvc.Controllers
{
    public class MessageController : BaseController
    {
        //
        // GET: /Message/

        public ActionResult Index(int? code)
        {
            MessageIndexViewModel model = new MessageIndexViewModel(masterViewModel);

            if (code != null)
            {
                switch (code)
                {
                    case 100:
                        {

                        }
                        break;
                    case 500:
                        {
                            model.MessageTitle = "用户未找到";
                            model.MessageContent = "用户未找到";
                        }
                        break;

                    default:
                        break;
                }
            }

            return View(model);
        }

    }
}
